/**
 * 知识库API
 *
 * @Date 2021/3/15 12:56
 * @author 周世焕
 */

import axios from "@/libs/api.request";

/**
 * 根据问题查询
 */
export function getByQuestion(tenantId,question) {
    return  axios.request({
        url: '/v1/service/knowledge/search',
        params:{tenantId,question},
        method: 'get'
    })
}

export function getHotList(tenantId) {
    return  axios.request({
        url: '/v1/service/knowledge/hot',
        params:{tenantId},
        method: 'get'
    })
}
